[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Netscape Communications
  # Corporation. Portions created by Netscape are
  # Copyright (C) 1998 Netscape Communications Corporation. All
  # Rights Reserved.
  #
  # Contributor(s): Gervase Markham <gerv@gerv.net>
  #%]

[%# INTERFACE:
  # id: number; the ID of the bug that was created.
  # sentmail: array of hash; bugs for which BugMail should be sent, contains:
  #     type: string; type of change for this bug, either 'created' if this bug
  #         was created or 'dep' if it was added as a dependent/blocker
  #     id: integer; the ID of the bug
  # mailrecipients: hash; contains the BugMail recipients, for details on
  #     this contents, see template bug/process/bugmail.html.tmpl
  # bug: object; Bugzilla::Bug object of the bug that was created (used in
  #     template bug/edit.html.tmpl
  # bug_list: array of integers; sorted bug list (used in template
  #     bug/navigate.html.tmpl)
  #%]

[% PROCESS global/variables.none.tmpl %]

[% PROCESS global/header.html.tmpl
  title = "$terms.Bug $id Submitted"
  javascript_urls = [ "js/util.js", "js/field.js",
                        "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ]
  style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
  
  
%]

[% header_done = 1 %]

[% FOREACH item = sentmail %]
  [% PROCESS bug/process/results.html.tmpl
     type = item.type
     id = item.id
     mail = item.mail
     mailrecipients = mailrecipients
   %]
[% END %]

<br>

<hr>

[% PROCESS bug/edit.html.tmpl %]

<hr>

[% PROCESS bug/navigate.html.tmpl bottom_navigator => 1 %]

<br>

[% PROCESS global/footer.html.tmpl %]
